class Vulnerability:
  #Constants
#  SQL_INJECTION = _("SQL Injection")
#  BLIND_SQL_INJECTION = _("Blind SQL Injection")
#  FILE_HANDLING = _("File Handling")
#  XSS = _("Cross Site Scripting")
#  CRLF = _("CRLF")
#  EXEC = _("Commands execution")
#  RES_CONSUMPTION = _("Resource consumption")
#  HTACCESS = _("Htaccess Bypass")
#  BACKUP = _("Backup file")
#  NIKTO = _("Potentially dangerous file")

  HIGH_LEVEL_VULNERABILITY   = "1"
  MEDIUM_LEVEL_VULNERABILITY = "2"
  LOW_LEVEL_VULNERABILITY    = "3"

  name = ""
  description = ""
  solution = ""
  references = {}
  
  def getName(self):
    return self.name 
  
  def getDescription(self):
    return self.description
    
  def getSolution(self):
    return self.solution

  def getReferences(self):
    return self.references
  
  def setName(self, name):
    self.name = name
  
  def setDescription(self, description):
    self.description = description
    
  def setSolution(self, solution):
    self.solution = solution

  def setReferences(self, references):
    self.references = references

